make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 8 Aug 2022 17:38:30 +0000 (18:38 +0100)
committerAurelien Jarno <aurel32@debian.org>
Mon, 8 Aug 2022 17:38:30 +0000 (18:38 +0100)
commita8bba8dcd0a1531343323bde5934f4059e64e889
treef85b629146c998455f449d5d08b54439b512950f
parentcddf8c818007713ca89befc61d25123ae8181279
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c